package com.example.demo.service;

import com.example.demo.entity.Goods;
import com.example.demo.entity.User;

import java.util.List;
import java.util.Map;

/**
 * @Description
 * @Author chenhuiyu
 * @Date 2023/12/1
 */
public interface GoodsService {

    Long addGoods(Goods goods);

    Long updateGoods(User user);

    Map<String, Goods> findGoods(User user);

    List<Goods> findGoodsListByGroupId(Integer groupId);

    List<Goods> findGoodsByIdList(List<Integer> goodsIdList);

    List<Goods> findGoodsList(Goods goods);
}
